home *** CD-ROM | disk | FTP | other *** search
- Path: news1.sunbelt.net!usenet
- From: kberry@safefed.org (Kevin)
- Newsgroups: comp.lang.c++
- Subject: Help with converting string to float, please!!!
- Date: 28 Feb 1996 16:35:33 GMT
- Organization: SAFE
- Message-ID: <4h208l$aja@news1.sunbelt.net>
- NNTP-Posting-Host: dp2.safefed.org
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-Newsreader: WinVN 0.99.7
-
- I need to parse up a string and perform calculations on the variables.
-
- take this string char *Query="APR=8.9&TERM=5&AMOUNT=10000"
-
- How would I parse it up and take out the numbers so I can use them in floating
- point calculations?
- Then I need to put them back in a string for output.
-
- Any help would be greatly appreciated.
-
- Thanks,
- Kevin
- kberry@safefed.org
-
-